import java.math.BigDecimal;

public class Fruit {
    private BigDecimal price;

    private String name;

    private double kilo;

    public Fruit() {

    }

    public Fruit(BigDecimal price) {
        this.price = price;
    }

    public Fruit(double kilo) {
        this.kilo = kilo;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getKilo() {
        return kilo;
    }

    public void setKilo(double kilo) {
        this.kilo = kilo;
    }
}
